<template>
  <section>
    <el-tabs v-model="selTab">
      <el-tab-pane label="优惠券定义" name="couponDefine">
        <define v-if="selTab === 'couponDefine'"></define>
      </el-tab-pane>
      <el-tab-pane label="优惠券管理" name="coupon">
        <coupon v-if="selTab === 'coupon'"></coupon>
      </el-tab-pane>
    </el-tabs>
  </section>
</template>

<script>
  import coupon from './couponInstance/couponList'
  import define from './couponDefine/define'
  export default {
    name: "index",
    components: {define,coupon},
    data() {
      return {
        selTab:'couponDefine',
      }
    }
  }
</script>

<style scoped>

</style>
